/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class MallItem {
    /**
     * mall_item.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * mall_item.mall_id
     * 店铺id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long mallId;

    /**
     * mall_item.title_name
     * 标题名称(菜名)
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String titleName;

    /**
     * mall_item.description
     * 
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String description;

    /**
     * mall_item.price
     * 单价
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long price;

    /**
     * mall_item.main_pic
     * 商品主图
     * VARCHAR(500)
     *
     * @mbggenerated
     */
    private String mainPic;

    /**
     * mall_item.sale_no
     * 销售数量
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long saleNo;

    /**
     * mall_item.stock
     * 库存
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer stock;

    /**
     * mall_item.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * mall_item.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * mall_item.status
     * 1:待上线0：已经上线-1：已下线-8：删除
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * mall_item.type
     * 0:普通商品1:外卖商品9:二维火商品
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * mall_item.item_category_id
     * 商品类目id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long itemCategoryId;

    /**
     * mall_item.atrribute
     * 
     * VARCHAR(3000)
     *
     * @mbggenerated
     */
    private String atrribute;

    /**
     * mall_item.biaoqian
     * 标签
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String biaoqian;

    /**
     * mall_item.tuijian
     * 1：推荐 0 不推荐
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer tuijian;

    /**
     * mall_item.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * mall_item.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * mall_item.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * mall_item.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /**
     * mall_item.other_pic
     * 其他图片
     * VARCHAR(500)
     *
     * @mbggenerated
     */
    private String otherPic;

    /**
     * mall_item.unit
     * 计量单位
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String unit;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getMallId() {
        return mallId;
    }

    /* @mbggenerated */
    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    /* @mbggenerated */
    public String getTitleName() {
        return titleName;
    }

    /* @mbggenerated */
    public void setTitleName(String titleName) {
        this.titleName = titleName == null ? null : titleName.trim();
    }

    /* @mbggenerated */
    public String getDescription() {
        return description;
    }

    /* @mbggenerated */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /* @mbggenerated */
    public Long getPrice() {
        return price;
    }

    /* @mbggenerated */
    public void setPrice(Long price) {
        this.price = price;
    }

    /* @mbggenerated */
    public String getMainPic() {
        return mainPic;
    }

    /* @mbggenerated */
    public void setMainPic(String mainPic) {
        this.mainPic = mainPic == null ? null : mainPic.trim();
    }

    /* @mbggenerated */
    public Long getSaleNo() {
        return saleNo;
    }

    /* @mbggenerated */
    public void setSaleNo(Long saleNo) {
        this.saleNo = saleNo;
    }

    /* @mbggenerated */
    public Integer getStock() {
        return stock;
    }

    /* @mbggenerated */
    public void setStock(Integer stock) {
        this.stock = stock;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Long getItemCategoryId() {
        return itemCategoryId;
    }

    /* @mbggenerated */
    public void setItemCategoryId(Long itemCategoryId) {
        this.itemCategoryId = itemCategoryId;
    }

    /* @mbggenerated */
    public String getAtrribute() {
        return atrribute;
    }

    /* @mbggenerated */
    public void setAtrribute(String atrribute) {
        this.atrribute = atrribute == null ? null : atrribute.trim();
    }

    /* @mbggenerated */
    public String getBiaoqian() {
        return biaoqian;
    }

    /* @mbggenerated */
    public void setBiaoqian(String biaoqian) {
        this.biaoqian = biaoqian == null ? null : biaoqian.trim();
    }

    /* @mbggenerated */
    public Integer getTuijian() {
        return tuijian;
    }

    /* @mbggenerated */
    public void setTuijian(Integer tuijian) {
        this.tuijian = tuijian;
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    /* @mbggenerated */
    public String getOtherPic() {
        return otherPic;
    }

    /* @mbggenerated */
    public void setOtherPic(String otherPic) {
        this.otherPic = otherPic == null ? null : otherPic.trim();
    }

    /* @mbggenerated */
    public String getUnit() {
        return unit;
    }

    /* @mbggenerated */
    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }
}